-- GENERATED SPELL FOR [Sunblade Protector] --


function spell0_25507(pUnit, Event) --@Fel Lightning,n/a--
pUnit:FullCastSpellOnTarget(46480,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25507', 326, 1)
end

function Sorts_25507(pUnit, Event)
local choix_sorts_25507 = math.random(0, 0)
if choix_sorts_25507 == 0 then
pUnit:RegisterEvent('spell0_25507', 1, 1)
end
end

function mob25507_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25507', math.random(1500, 3000), 1)
end

function mob25507_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25507_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25507_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25507, 1, 'mob25507_Action')
RegisterUnitEvent(25507, 2, 'mob25507_Leave')
RegisterUnitEvent(25507, 3, 'mob25507_Kill')
RegisterUnitEvent(25507, 4, 'mob25507_Die')
